package application.auxclasses;

import java.util.TimerTask;

import application.snakes.Snake;

public class FuzzyWaitTask extends TimerTask {
	private Snake _snake;
	
	public FuzzyWaitTask(Snake snake){
		this._snake = snake;
	}

	@Override
	public void run() {
		this._snake.changeFuzzy();
		System.out.println("No longer fuzzy.");
		this.cancel();
	}

}
